<?PHP
if($filename=='teamspeak.php') {
	switch ($values['do']) { 
        case 'viewer': 
                $userinfo['activity'] = 'teamspeak_viewer'; 
        break; 
        case 'add'; 
                $userinfo['activity'] = 'teamspeak_add'; 
        break; 
        case 'reset'; 
                $userinfo['activity'] = 'teamspeak_reset'; 
        break; 
        case 'setuid'; 
                $userinfo['activity'] = 'teamspeak_setuid'; 
        break; 
        case 'dosetuid'; 
                $userinfo['activity'] = 'teamspeak_dosetuid'; 
        break; 
        case 'test'; 
                $userinfo['activity'] = 'teamspeak_test'; 
        break; 
		case 'index': 
		default:
                $userinfo['activity'] = 'teamspeak_index'; 
        break; 
    }
}
?>